STEP 5: Now we need to tell the program what to do if both players choose "rock".

Type rock as your choice. Keep running your program until the computer picks rock in order to test the program!

  • Change the string in .set_text() to "Tie Game!".


To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)